from gtkmvc import View

class MyView (View):
    glade = "example.glade"
    top = "window1"

    def enable_rb2(self, flag):
        """enables/disables all widgets regarding rb2"""
        self['table1'].set_sensitive(flag)
        return

    pass # end of class

